// 动态插入友盟统计代码
export const umaInit = () => {
  const script = document.createElement('script');
  script.type = 'text/javascript';
  script.src = process.env.VUE_APP_ENV === 'prod' ? 'https://s9.cnzz.com/z_stat.php?id=1280312537' : 'https://v1.cnzz.com/z_stat.php?id=1280312536';
  document.body.appendChild(script);
};
